*
{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    scroll-behavior: smooth;
    
}

@font-face {
    font-family: 'Roboto';
    src: url(../Roboto/Roboto-Italic-VariableFont_wdth\,wght.ttf) format('truetype');
    
    font-style: normal;
}

/* Menu */

nav
{
    display: flex;
    height: 3.5rem;
    width: 100vw;
    justify-content: space-between;
    background-color: #2E3532;
    align-items: center;
    color: #fdcc04;
    position:fixed;
    top: 0;
    transition: transform 0.3s ease;
    box-shadow: 3px 3px 5px rgb(0,0,0,0.5);
    z-index: 999;
}

nav.hide {
    transform: translateY(-100%);
  }

.logo a
{
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    padding: 0 2rem;
    text-decoration: none;
    color: #fdcc04;
}

.logo a:hover
{
  color: #fdcc04;
}


.nav-items
{
    z-index: 100;
    display: flex;
    align-items: flex-end;
    
}



.nav-items a
{
    text-decoration: none;
    color: #fdcc04;
    padding: 0.5rem 1rem;
    margin: 0 2rem;
    font-size: 1.25rem;
    
    background: #2E3532;
}

.nav-items a:hover
{
  color:#fdcc04;
}



.link-underline {
    position: relative;
    color:#fdcc04;
    text-decoration: none;
  }

  .link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; 
    width: 100%;
    height: 2px;
    background-color:#fdcc04;
    transform: scaleX(0);
    transform-origin:center;
    transition: transform 0.3s ease;
  }

  .link-underline:hover::after {
    transform: scaleX(1);
  }

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fdcc04;
    padding: 0 2rem;
    cursor: pointer;
}



/* Úvod */



.hero
{
    background: #fdcc04;
    height: 100vh;
}

.hero-container
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 95vh;
    padding: 3rem calc((100vw - 1300px) / 2);
}

.column-left
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.column-left h1
{
    margin-bottom: 0.5rem;
    font-size: 5rem;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.column-left h2
{
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.column-left p
{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-weight: 300;
}

.hover-btn {
    display: inline-block;
    position: relative;
    padding: 1rem 3rem;
    background: #2E3532;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    overflow: hidden;
    cursor: pointer;
    color: #fdcc04;
    text-decoration: none;
    font-weight: bold;
    z-index: 0;
}

/* Hover/focus/click zachování barvy a bez podtržení */
.hover-btn:hover,
.hover-btn:visited,
.hover-btn:active,
.hover-btn:focus {
    color: #fdcc04;
    text-decoration: none;
    outline: none;
}

/* Překryvný animovaný efekt */
.hover-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15); /* průhledná světlá vrstva */
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 30px;
}

.hover-btn:hover::before {
    left: 0;
}


.column-right
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    margin-top: -3rem;
}

.hero-image
{
    height: 100vh;
    width: auto;
    display: flex;
}



/* O nás */

.onas{
  background: linear-gradient(90deg, #1e2021 0%, #2E3532 100%);
    color: whitesmoke;
}

.onas-nadpis
{
    display: flex;
    justify-content:center ;
    font-size: 5rem;
    color: #fdcc04;
    padding-top: 5rem;
    text-transform: uppercase;
    font-family: Roboto;
    font-weight: 100;
}


.onas-container
{
    display: flex;
      min-height: 60vh;
      width: 100%;

}

.reverse
{
    flex-direction: row-reverse;
}

.image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }

  .image-column img {
    content: '';
    display: block;
    width: 65%;
    height: 65%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
    border: #fdcc04 1px solid;
  }

  .text-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .text-content {
    max-width: 500px;
    text-align: center;
    padding: 2rem;
  }

  .subheading {
    font-size: 0.9rem;
    color: #fdcc04;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .divider-1
  {
    height: 1px;
    border: none;
    width: 35%;
    margin: 2rem auto;
    background-color: #fdcc04;
  }  
  
  .divider
  {
    height: 1px;
    border: none;
    width: 65%;
    margin: 2rem auto;
    background-color: #fdcc04;
  }


  .image-column img
  {
    
    transition: 1s;
  }


  .image-column img:hover
  {
    transform: scale(1.1);
    
  }


/* Kurzy */

.kurzy {
    background: linear-gradient(90deg, #1e2021 0%, #2E3532 100%);
    color: #fdcc04;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .kurzy::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50px;
    width: 150%;
    height: 100%;
    background: url('../images/tire-track.png') repeat;
    opacity: 0.04;
    transform: rotate(-10deg);
    z-index: 0;
  }
  
  .kurzy-heading {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: Roboto, sans-serif;
    font-weight: 100;
    letter-spacing: 2px;
    position: relative;
    
  }
  
  .kurzy-subheading {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 400;
    position: relative;
  }
  
  .kurzy-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-template-areas:
      "card1 card2"
      "card3 card3";
    gap: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
  }

  .kurzy-container a
  {
    text-decoration: none;
  }
  
  .kurz-card {
    background-color: #fdcc04;
    color: #2E3532;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 500px;
    position: relative;
  }
  
  .kurz-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.6);
    color: #2E3532;
  }
  
  .kurz-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid #2E3532;
  }
  
  .kurz-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .kurz-card p {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
  }
  
  .card1 { grid-area: card1; }
  .card2 { grid-area: card2; }
  .card3 { grid-area: card3; }
  
  






/* Galerie */


.carousel-nadpis
{
  text-align: center;
  background: linear-gradient(90deg, #1e2021 0%, #2E3532 100%);
  color: #fdcc04;
  font-size: 4rem;
  
   
    text-transform: uppercase;
    font-family: Roboto, sans-serif;
    font-weight: 100;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 3rem;
}


.galerie
{
  background: linear-gradient(90deg, #1e2021 0%, #2E3532 100%);
   
}
  

.carousel-wrapper {
  max-width: 900px;   /* Max šířka na velkých obrazovkách */
  width: 90vw;        /* Šířka vždy 90% viewportu */
  height: 60vw;       /* Výška je 60% viewportu šířky pro zachování poměru */
  max-height: 540px;  /* Max výška */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(90deg, #1e2021 0%, #2E3532 100%);
  position: relative;
}

/* Inner container still fills full height */
.carousel-inner {
  height: 100%;
  position: relative;
}

/* All items stacked, but only the active one is shown */
.carousel-item {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.carousel-item.active {
  z-index: 1;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}


/* recenze */

/* recenze */

.recenze {
  background: linear-gradient(90deg, #1e2021 0%, #2E3532 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.recenze label
{
  background-color: #fdcc04;
  padding: 1rem 2rem;
  border-radius: 15px;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.5s;
  border: 2px solid transparent ;
}

.recenze label:hover
{
  color: #fdcc04;
  background-color: black;
  border: #fdcc04 solid 2px;
}

#ch
{
  display: none;
}

.shower
{
  display: none;
}

#ch:checked ~ .recenze-container .shower
{
  display:block;
}


.recenze-nadpis {
  font-size: 4rem;
  margin-bottom: 4rem;
  color: #fdcc04;
  font-family: Roboto, sans-serif;
  font-weight: 100;
  letter-spacing: 2px;
}

.recenze-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.recenze-sloupec {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.recenze-karta {
  background-color: #fdcc04;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recenze-karta:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.recenze-text {
  font-size: 1.1rem;
  line-height: 1.7rem;
  color: #2E3532;
  font-weight: 600;
}

.recenze-autor {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #2E3532;
  font-style: italic;
  font-weight: bold;
}



@media (max-width: 768px) {
  .recenze-container {
    flex-direction: column;
  }

  .recenze-sloupec {
    width: 100%;
  }
  .recenze-nadpis{
    font-size: 3rem;
  }
}

/* footer */

.footer {
  background-color: #191b1b;
  color: #fdcc04;
  padding: 2rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 280px;
}

.footer-left p {
  margin: 0.5rem 0;
}

.footer-icons {
  margin-top: 1rem;
}

.footer-icons a {
  color: #fdcc04;
  margin-right: 1rem;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: white;
}

.footer-right {
  flex: 1;
  min-width: 280px;
  padding: 1rem;
}

.footer iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  border: 2px solid #fdcc04;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.8rem;
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-left, .footer-right {
    text-align: center;
  }
}


@media (max-width: 1110px)
{
    .nav-items a
    {
        padding: 0.5rem 1rem;
        margin: 0 1rem;    
    }
}


@media (max-width: 950px)
{
    .nav-items {
        position: absolute;
        top: 3.5rem;
        right: 0;
        background-color: #2E3532;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        width: 100%;
        display: flex;
        overflow: hidden;
        
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.2s ease-in-out;
    }

    .nav-items a
    {
        width: 40%;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .nav-items.show {
        display: flex;
        max-height: 500px; 
        opacity: 1;
        transform: translateY(0);
    }

    .nav-items button {
        margin: 0.5rem 1rem;
        width: auto;
    }

    .menu-toggle {
        display: block;
    }

    .hero-container
    {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .hero-image
    {
        height: 61.5vh;
        width: auto;
    }
    .column-left h1
    {
        margin-top: 5rem;
    }
}


@media screen and (max-width: 850px)
{
    .hero-image
    {
        height: 58vh;
        width: auto;
    } 
    
}


@media screen and (max-width: 430px)
{
    .hero-image
    {
        height: 34vh;
        width: auto;
        margin-top: 2rem;
    } 
}


@media screen and (max-width: 900px) {
  .onas-container {
    flex-direction: column !important;
    padding: 2rem 1rem;
    min-height: auto;
  }

  .image-column,
  .text-column {
    width: 100%;
    padding: 1rem 0;
  }

  .image-column img {
    width: 80%;
    height: auto;
    max-width: 400px;
  }

  .text-content {
    padding: 1rem;
    text-align: center;
  }

  .onas-nadpis {
    font-size: 3rem;
    padding-top: 3rem;
  }

  .divider,
  .divider-1 {
    width: 80%;
  }
}


@media (max-width: 768px) {
  .kurzy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .kurz-card {
    max-width: 90%;
  }
}

/* Galerie */
@media (max-width: 768px) {
  .carousel-wrapper {
    width: 95vw;
    height: 55vw;
    max-height: 400px;
  }

  
}

@media (max-width: 480px) {
  .carousel-wrapper {
    height: 70vw; /* vyšší pro velmi úzké obrazovky */
  }

  .carousel-nadpis {
    font-size: 3.5rem;
  }
}


